Make the cache of bidi iterator states dynamically allocated.
authorEli Zaretskii <eliz@gnu.org>
Fri, 14 May 2010 15:19:07 +0000 (18:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 14 May 2010 15:19:07 +0000 (18:19 +0300)
commit8ce580d2dd0e442159ede8d62acb764ee743c7e0
tree7e2a0a33a613f7f564f706da68232cde6107188d
parent3e3300af032d0b12f7726defd6ebf9d131e815d0
Make the cache of bidi iterator states dynamically allocated.

 bidi.c (bidi_cache_shrink): New function.
 (bidi_init_it): Call it.
 (bidi_cache_iterator_state): Enlarge the cache if needed.
src/ChangeLog
src/bidi.c